You must enter a proper real number for a weight